Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications


output-messages

This function outputs all messages queued for a specified message group or all message groups in HTML. If no prior output has been sent for the current Web request, an entire HTML page is generated with appropriate Content-type header, head, and body sections. Otherwise, the messages are output in the format of an HTML unnumbered bulleted list. The returned value is the number of messages output.

Location: web\method\message.i

Parameters:

INPUT p_option AS CHARACTER

Specifies the messages to output. The valid values are as follows:

INPUT p_grp AS CHARACTER

If using the “group” setting for p_option, the name of message group from which to output messages. If the Unknown value (?) is specified, outputs all messages.

INPUT p_message AS CHARACTER

An optional message heading. With the "page" option, this text is displayed in the HTML title and H1 sections. With the "all" option, or "group" option, the text is displayed before the messages are output as a heading.

Returns: INTEGER

Notes:

See also:

available-messages

get-message-groups

get-messages

queue-message


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095